package Lambda;

import org.junit.Test;

/**
 * @projectName: Webflux_demo
 * @package: Lambda
 * @className: LambdaTest
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2021/12/13 18:35
 * @version: 1.0
 */
public class LambdaTest {

    @Test
    public void test() {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("你好我是传统线程");
            }
        }).start();
        new Thread(() -> {
            System.out.println("你好我是Lambda的第一个线程");
        }).start();
    }
}


